<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>书中人物</title>
</head>
<body>

<style>
    h1 {
        color: #090;
        font-size: 38px;
    }

    a {
        color: #000;
        font-size: 29px;
    }
</style>
<h1>书中主要人物</h1>

<ul>
    {% for item in hero %}
        <li>
           {{ item.name }}
        </li>
    {% empty %}
        <li>没有人物</li>
    {% endfor %}

</ul>


</body>
</html>